package com.example.democrud.user;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.democrud.user.pojo.UserDO;
import com.example.democrud.user.pojo.UserDTO;

import java.time.LocalDateTime;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yml
 * @since 2020-04-26
 */
public interface UserService extends IService<UserDO> {

    public Long create(UserDTO userDTO);

    public UserDO retrieve(Long id);

    public UserDO retrieve(UserDTO userDTO );

    public UserDO delete(Long id);
}
